package com.liang.blog.service;

import com.fasterxml.jackson.databind.ObjectMapper;
import com.liang.blog.mapper.OptionMapper;
import com.liang.blog.model.TechOption;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;

@Service
public class OptionService {
    @Autowired
     private OptionMapper optionMapper;

        public List<TechOption> getOptions() {
            System.out.println("111");
         return optionMapper.findOption();
    }
}
